package com.libleveldb

abstract class Snapshot {
    /**
     * Checks whether this snapshot has been released.
     *
     * A snapshot is released either when explicitly released with
     * [LevelDB.releaseSnapshot] or when the database
     * that created is garbage collected or closed.
     *
     * @return whether this snapshot has been released by the system
     */
    abstract val isReleased: Boolean
}